package com.smedi.ismedi.authoritymanagement.api.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: xulinjun
 * @Date: 2021-7-4 18:28
 */
@Data
@Accessors(chain = true)
public class TokenResponse implements Serializable {
    @ApiModelProperty(value = "令牌")
    private String token;

    @ApiModelProperty(value = "登录时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date loginDateTime;
}
